/* the in game stuff*/
var PlayScreen = me.ScreenObject.extend(
    {
        onResetEvent: function()
        {
            me.levelDirector.loadLevel("area01");
            //me.audio.playTrack("overworld");
            me.game.addHUD(0, 430, 640, 60);
           // var tp = me.game.currentLevel.getLayerByName("Eventos").getEntityByName("Evento");
           // alert(tp.length);
            //me.game.HUD.addItem("score", new ScoreObject(620, 10));
            //me.game.HUD.addItem("xp", new ScoreObject(200, 10));
            me.game.sort();
        },

        onDestroyEvent: function()
        {
            me.game.disableHUD();
            me.audio.stopTrack();
        }
});

// events
var teleportEvents = new Array();
